import React, { useEffect, useState } from "react"
import { Button, Radio } from 'antd';
import { Pagination } from 'antd';
// const Demo8 = () => {
//     const [count, setCount] = useState(0)

//     useEffect(() =>{
//         if(count === 0){
//             document.title = 'ou clicked ${ count } times'
//         }
//     })
//     return(
//         <div>
//             <p>You clicked {count } timss</p>
//             <button onClick={() => setCount(count +1)}>Click me</button>

//         </div>
//     )
// }

// export default Demo8


export default class Demo9 extends React.Component {
    render() {
        return (
            <div>
                我是你爸爸：我是{this.props.children}
                <Button type="primary">Primary Button</Button>
                <Button>Default Button</Button>
                <Button type="dashed">Dashed Button</Button>
                <Pagination defaultCurrent={90} total={400} />
            </div>
        )
    }
}